CREATE TABLE [dbo].[TDDIST_PGGR]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[TI_DOCU] [dbo].[TD_VC_003] NOT NULL,
[NU_DOCU] [dbo].[TD_VC_020] NOT NULL,
[NU_CORR_DOCU] [dbo].[TD_VC_008] NOT NULL,
[NU_CORR] [dbo].[TD_IN_001] NOT NULL,
[TI_AUXI_EMPR] [dbo].[TD_VC_001] NULL,
[CO_AUXI_EMPR] [dbo].[TD_VC_020] NULL,
[CO_CNTA_EMPR] [dbo].[TD_VC_020] NULL,
[CO_ORDE_SERV] [dbo].[TD_VC_020] NULL,
[ST_DIST] [dbo].[TD_VC_001] NOT NULL,
[PO_DIST] [dbo].[TD_NU_009_004] NOT NULL,
[IM_CUOT_DIST] [dbo].[TD_NU_016_004] NOT NULL,
[CO_UNID_CONC] [dbo].[TD_VC_003] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL,
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TDDIST_PGGR] ADD CONSTRAINT [PK__TDDIST_P__7C044BD040D054B1] PRIMARY KEY CLUSTERED  ([CO_EMPR], [TI_DOCU], [NU_DOCU], [NU_CORR]) ON [PRIMARY]
GO
